package Kruskal;

public class Pair<T,U>{
	private T first;
	private U second;
	public T getFirst() {
		return first;
	}
	public void setFirst(T first) {
		this.first = first;
	}
	public U getSecond() {
		return second;
	}
	public void setSecond(U second) {
		this.second = second;
	}
	public Pair(T a, U b){
		first = a;
		second = b;
	}
}